Python's Map Function: Transforming Iterables